package com.gtw.modules.api.service;

import com.gtw.modules.entity.TbSearchInfo;

import java.util.List;
import java.util.Map;

/**
 * 用户搜索记录
 *
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-06 15:19:47
 */
public interface TbSearchInfoService {

    TbSearchInfo queryObject(Integer id);

    List<TbSearchInfo> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbSearchInfo searchInfo);

    void update(TbSearchInfo searchInfo);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    List<TbSearchInfo> findByKes(String uid);
}
